import roles from '@/pages/auth/roles/index.vue'
import user from '@/pages/auth/user/index.vue'
import menu from '@/pages/auth/menu/index.vue'
import funcs from '@/pages/auth/funcs/index.vue'
import permission from '@/pages/auth/permission/index.vue'
import district from '@/pages/auth/district/index.vue'
import organ from '@/pages/auth/organ/index.vue'
import organManage from '@/pages/auth/organ/organManage.vue'
import dutyList from '@/pages/auth/duty/dutyList.vue'
import modify from '@/pages/auth/modify/index.vue'

import systemParSet from '@/pages/auth/system/systemParSet.vue'
import changedata from '@/pages/auth/changedata/index.vue'


export default [



  {
    path: '/auth/role',
    name: 'roles',
    meta: {
      title: '角色管理',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: roles
  },
  {
    path: '/user/mod-password',
    name: 'modify',
    meta: {
      title: '修改密码',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: modify
  },
  {
    path: '/user/mod-user',
    name: 'changedata',
    meta: {
      title: '修改资料',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: changedata
  },
  {
    path: '/auth/user',
    name: 'user',
    meta: {
      title: '用户管理',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: user
  },
  {
    path: '/auth/menu',
    name: 'menu',
    meta: {
      title: '菜单管理',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: menu
  },
  {
    path: '/auth/funcs',
    name: 'funcs',
    meta: {
      title: '操作管理',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: funcs
    },
    { path: '/auth/dutyList', name: 'dutyList', meta: {
        title: '职务管理',  
        icon: 'dashboard',
        noCache: true,  //是否缓存
        affix: true    //是否固定图钉
    }, component: dutyList },
    { path: '/auth/systemParSet', name: 'systemParSet', meta: {
        title: '参数设置',  
        icon: 'dashboard',
        noCache: true,  //是否缓存
        affix: true    //是否固定图钉
    }, component: systemParSet },
    
  {
    path: '/auth/permission',
    name: 'permission',
    meta: {
      title: '权限管理',
      icon: 'dashboard',
      noCache: true, //是否缓存
      affix: true //是否固定图钉
    },
    component: permission
  },
  {
    path: '/auth/district',
    name: 'district',
    meta: {
      title: '区域授权',
      icon: 'dashboard',
      noCache: true, //是否缓存
      affix: true //是否固定图钉
    },
    component: district
  },

  {
    path: '/auth/organ',
    name: 'organ',
    meta: {
      title: '组织结构',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: organ
  },
  {
    path: '/organ/manage',
    name: 'organManage',
    meta: {
      title: '机构管理',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: organManage
  },


]
